import { createApp } from 'vue'
import App from './App.vue'
// import { createPinia } from 'pinia'
import router from './router'
// import persist from 'pinia-plugin-persistedstate'
// 持久化插件
import { pinia } from './stores/index'
// 样式全局使用
import 'vant/lib/index.css'
import './styles/main.scss'
const app = createApp(App)
// const pinia = createPinia()
// pinia.use(persist)
app.use(pinia)
app.use(router)
app.mount('#app')
